package com.gulimall.api.feign;

import com.gulimall.api.domain.CouponDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient("gulimall-coupon")
public interface CouponClient {
    /**
     * 查询优惠券
     */
    @GetMapping("/coupon/single")
    CouponDTO getCouponDTO();
}
